package com.itheima.mall.pojo.pms;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "pms_sku_stock")
public class SkuStock implements Serializable {
    private Long id;
    private Long productId;
    private String skuCode;  //sku编码
    private BigDecimal price;
    private Integer stock;            //库存
    private Integer lowStock;         //预警库存
    private String pic;               //展示图片
    private Integer sale;             //销量
    private BigDecimal promotionPrice;//单品促销价格
    private Integer lockStock;       //锁定库存
    private String spData;            //商品销售属性，json格式
}






